# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hare-wayland
pkgver=0_git20231129
_commit=21ba2418387bd00221290b28e8056173a459fd4a
pkgrel=0
pkgdesc="Native Hare Wayland bindings"
url="https://sr.ht/~sircmpwn/hare-wayland"
arch="x86_64 aarch64 riscv64" # hare
license="MPL-2.0"
makedepends="hare hare-xml wayland-dev"
source="
	$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-wayland/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"

build() {
	make -j1 PREFIX=/usr
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
05d86952b76c8a2d85fe384722e73eb67b0576789db7c47f7f5e2c12227ff2cd111743937e85acc37e2de7b5f455e27e0e2f41474f94caa500239fe68a679b9b  hare-wayland-21ba2418387bd00221290b28e8056173a459fd4a.tar.gz
"
